Silk Mobile

Table of Contents (Homepage)

Session 4 - Using The InCommands

Each of the four 'In' commands covered in this session performs the designated operation on a certain element positioned in the specified location:

  1. GetTextIn : returns the graphical element or text located the area of the application screen specified by the following parameters: element/text, direction, and its dimensions (width and height).

  2. VerifyIn: Searches for a designated element in the application's UI in order to verify that the element in fact exists:

    1. If the element is found, the execution of the test will continue.

    2. If the element is not found, an exception will be thrown and execution of the test is terminated.

  3. IsFoundIn: Searches for a designated element and determines whether and element corresponding to that sought exists:

    1. If the element if found, the value True is returned.

    2. If the element is not found, the value False is returned.

  4. ClickIn : S earches for a designated element and clicks another element located near it.